package com.tanhua.admin.exception;

import com.tanhua.model.utils.ErrorResult;

//自定义异常
public class BusinessException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private ErrorResult result;

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(ErrorResult result) {
        this.result = result;
    }
}